﻿<Common:LayoutAwarePage
    x:Class="Antares.VIEWs.ProjectManagerPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:common="using:Antares.Common"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:Common="using:AntaresShell.Common"
    xmlns:VIEWMODELs="using:Antares.VIEWMODELs" mc:Ignorable="d">

    <Page.DataContext>
        <VIEWMODELs:ProjectManagerViewModel/>
    </Page.DataContext>

    <Common:LayoutAwarePage.Transitions>
        <TransitionCollection>
            <EntranceThemeTransition/>
        </TransitionCollection>
    </Common:LayoutAwarePage.Transitions>
    <Grid Background="{StaticResource ApplicationPageBackgroundThemeBrush}">
        <Grid.Resources>
            <Style x:Key="HyperLinkStyle" TargetType="HyperlinkButton">
                <Setter Property="FontFamily" Value="Segoe UI"/>
                <Setter Property="FontSize" Value="25"/>
                <Setter Property="FontWeight" Value="SemiLight"/>
                <Setter Property="Foreground" Value="#7b7b7b"></Setter>
                <Setter Property="Transitions">
                    <Setter.Value>
                        <TransitionCollection>
                            <ContentThemeTransition/>
                        </TransitionCollection>
                    </Setter.Value>
                </Setter>
            </Style>
            <Style x:Key="CommonTextStyle" TargetType="TextBlock">
                <Setter Property="FontFamily" Value="Segoe UI"/>
                <Setter Property="FontSize" Value="32"/>
                <Setter Property="FontWeight" Value="Light"/>
                <Setter Property="Foreground" Value="#FF999999"/>

            </Style>
        </Grid.Resources>
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="auto"/>
                <RowDefinition Height="*"/>

            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="50"/>
                <ColumnDefinition Width="*"/>
                <ColumnDefinition Width="50"/>
            </Grid.ColumnDefinitions>
            <Grid x:Name="HeaderGrid" Grid.Row="0" Grid.ColumnSpan="3" Background="White">
                <Grid.RowDefinitions>
                    <RowDefinition Height="140"/>
                    <RowDefinition Height="auto"/>

                </Grid.RowDefinitions>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"/>
                    <ColumnDefinition Width="*"/>
                </Grid.ColumnDefinitions>

                <Button x:Name="backButton" Click="GoBack" IsEnabled="{Binding Frame.CanGoBack, ElementName=pageRoot}" Style="{StaticResource BackButtonStyle}"/>
                <TextBlock x:Name="pageTitle" Text="" Style="{StaticResource PageHeaderTextStyle}"  Grid.Column="1" IsHitTestVisible="false"/>
                <StackPanel  x:Name="NavigatorBar" Orientation="Horizontal" Grid.Row="1" Grid.Column="1">
                    <HyperlinkButton Tapped="OverviewBtn_Tapped" Name="OverviewBtn" Style="{StaticResource HyperLinkStyle}" Content="{Binding Resource[SubTitle_1]}"/>
                    <HyperlinkButton Visibility="Collapsed" Tapped="ProjectBtn_Tapped" Name="ProjectBtn" Style="{StaticResource HyperLinkStyle}" Content="{Binding Resource[SubTitle_2]}"/>
                    <HyperlinkButton Visibility="Collapsed" Tapped="Taskbtn_Tapped" Name="TaskBtn" Style="{StaticResource HyperLinkStyle}" Content="{Binding Resource[SubTitle_3]}"/>

                </StackPanel>
                <Grid x:Name="WaitingBtn" Visibility="Collapsed" Grid.Row="0" Grid.RowSpan="2" VerticalAlignment="Bottom" Grid.Column="1" HorizontalAlignment="Right" Margin="0,0,20,0">
                    <Grid.Transitions>
                        <TransitionCollection>
                            <PopupThemeTransition FromVerticalOffset="0"/> 
                        </TransitionCollection>
                    </Grid.Transitions>
                    <HyperlinkButton x:Name="ApproveBtn" Visibility="Visible" HorizontalAlignment="Right" Tapped="Approve_Tapped_1" Style="{StaticResource HyperLinkStyle}" Content="{Binding Resource[SubTitle_6]}"/>
                    <Grid>
                        <Ellipse Margin="0,0,0,30" HorizontalAlignment="Right"  Fill="#5CB3FF" Height="24" Width="24"/>
                        <TextBlock  x:Name="NotifyNumber" Margin="0,0,0,28" Text="" Foreground="White" FontSize="15" FontFamily="Segoe UI" FontWeight="Light" TextAlignment="Center" VerticalAlignment="Center" Height="24" Width="24" HorizontalAlignment="Right" />
                    </Grid>
                </Grid>

            </Grid>


            <Grid Grid.ColumnSpan="3" Grid.Row="1" x:Name="DynamicContent" Background="LightBlue">

                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="120"/>
                    <ColumnDefinition Width="25*"/>
                    <ColumnDefinition Width="1171*"/>
                </Grid.ColumnDefinitions>
                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="*"/>
                </Grid.RowDefinitions>
                <Frame x:Name="ProjectFrame" Grid.Row="1" Grid.Column="1" Grid.ColumnSpan="2"/>

            </Grid>
        </Grid>
    </Grid>
</Common:LayoutAwarePage>